package com.hy.erp.inventory.pojo;

import javax.persistence.Column ;
import javax.persistence.Entity ;
import javax.persistence.Table ;

/*import org.jboss.seam.ScopeType ;
import org.jboss.seam.annotations.Name ;
import org.jboss.seam.annotations.Scope ;
*/
import com.hy.erp.inventory.dao.interfaces.IDisposalWayDao;
import com.hy.erp.inventory.pojo.interfaces.IDisposalWay;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
/**
 * 
 * <ul>
 * <li>开发作者：汤莉</li>
 * <li>设计日期：2010-11-13；时间：上午11:59:46</li>
 * <li>类型名称：DisposalWay</li>
 * <li>设计目的：质检不合格后货物的处理方式</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
/*@Entity
@Name("disposalWay")
@Scope(ScopeType.SESSION)
@Table(name="disposalWay")
@DaoA(IDisposalWayDao.class)*/
public class DisposalWay extends MyBaseModel //implements IPositonType
//public class DisposalWay	extends	AbstractPersistentEntity	implements	IDisposalWay
{

	/**
	 * <ul>
	 * <li>开发作者：汤莉</li>
	 * <li>设计日期：2010-11-13；时间：下午12:00:14</li>
	 * <li>字段类型：long；字段名称：serialVersionUID</li>
	 * <li>设计目的：</li>
	 * </ul>
	 * <ul>
	 * <b>修订编号：</b>
	 * <li>修订日期：</li>
	 * <li>修订作者：</li>
	 * <li>修订原因：</li>
	 * <li>修订内容：</li>
	 * </ul>
	 */
	private static final long	serialVersionUID	=
														- 4104143630201427050L ;

	public DisposalWay()
	{
		super ( );
	}
	
	@Column(name="name",unique=false,nullable=false,insertable=true,updatable=true)
	public String getName()
	{
		return this.get ( IDisposalWay.NAME );
	}
	
	@Column(name="description",unique=false,nullable=true,insertable=true,updatable=true)
	public String getDescription()
	{
		return this.get ( IDisposalWay.DESCRIPTION );
	}
	
	public void setName(String name)
	{
		super.set ( IDisposalWay.NAME , name );
	}
	
	public void setDescription(String description)
	{
		super.set ( IDisposalWay.DESCRIPTION , description );
	}
}
